Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@openreplay/tracker-vuex
Advanced tools
A Vuex plugin for OpenReplay Tracker. This plugin allows you to see the application state during session replay.
npm i @openreplay/tracker-vuex
Initialize the @openreplay/tracker
package as usual and load the plugin into it.
Then put the generated plugin into your plugins
field of your store.
import Vuex from 'vuex'
import Tracker from '@openreplay/tracker';
import trackerVuex from '@openreplay/tracker-vuex';
const tracker = new Tracker({
projectKey: YOUR_PROJECT_KEY,
});
const store = new Vuex.Store({
// ...
plugins: [tracker.plugin(trackerVuex())],
});
You can customize the plugin behaviour with options to sanitize your data. They are similar to the ones from the standard createLogger
plugin.
trackerVuex({
filter (mutation, state) {
// returns `true` if a mutation should be logged
// `mutation` is a `{ type, payload }`
return mutation.type !== "aBlacklistedMutation";
},
transformer (state) {
// transform the state before logging it.
// for example return only a specific sub-tree
return state.subTree;
},
mutationTransformer (mutation) {
// mutations are logged in the format of `{ type, payload }`
// we can format it any way we want.
return mutation.type;
},
})
FAQs
Tracker plugin for Vuex state recording
The npm package @openreplay/tracker-vuex receives a total of 386 weekly downloads. As such, @openreplay/tracker-vuex popularity was classified as not popular.
We found that @openreplay/tracker-vuex demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.